package com.inspectionwork.support.annotaion;

import org.apache.commons.lang3.ObjectUtils.Null;

import java.lang.annotation.*;

/**
 * 
 * @ClassName: Export <br>
 * @Description:(导出表格等) <br>
 * @author Sir丶雨轩<br>
 * @date 2018年8月2日 下午5:59:00 <br>
 *
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface Import {

	/**
	 * 
	 * @Title: value <br>
	 * @Description: (文件名) <br>
	 * @author Sir丶雨轩<br>
	 * @return
	 */
	String value();
	/**
	 * 
	 * @Title: dataName <br>
	 * @Description: (前台文件域字段) <br>
	 * @author Sir丶雨轩<br>
	 * @return
	 */
	String dataName() default "listData";
	/**
	 * 
	 * @Title: beanType <br>
	 * @Description: (返回实体类默认为Map) <br>
	 * @author Sir丶雨轩<br>
	 * @return
	 */
	Class<?> beanType() default Null.class;
	
	int startLine() default 1;
	
	int titleLine() default 0;
}
